import QtQuick
import QtQuick.Controls

Rectangle {
    width: 200
    height: 200
    color: "#666"
    
    Column {
        anchors.centerIn: parent
        spacing: 15
        
        Text {
            text: "耗时组件已加载完成"
            font.pixelSize: 16
            color: "#333"
            anchors.horizontalCenter: parent.horizontalCenter
        }

        Text {
            text: "加载用时：2秒"
            font.pixelSize: 14
            color: "#333"
            anchors.horizontalCenter: parent.horizontalCenter
        }
        
        // 旋转的方块
        Rectangle {
            width: 50
            height: 50
            color: "white"
            anchors.horizontalCenter: parent.horizontalCenter
            
            RotationAnimation on rotation {
                from: 0
                to: 360
                duration: 3000
                loops: Animation.Infinite
            }
        }
    }
} 
